package humans


// 08_thin_formatters

type ThinFormatter interface {
    Format(pets []Pet) ([]byte,error)
}

type CsvFormatter struct {

}

func (f CsvFormatter)Format(pets []Pet)([]byte,error)  {
    // convert slice of pets to CSV
    return nil, nil
}


type GOBFormatter struct{}

func (f GOBFormatter) Format(pets []Pet) ([]byte, error) {
    // convert slice of pets to GOB
    return nil, nil
}

type JSONFormatter struct{}

func (f JSONFormatter) Format(pets []Pet) ([]byte, error) {
    // convert slice of pets to JSON
    return nil, nil
}
